package com.hst.capacity.infra.persistence.jpa.setting.station;


import com.hst.capacity.domain.model.entity.setting.station.InnerAutoGrabEntity;
import org.springframework.data.repository.CrudRepository;

public interface InnerAutoGrabRepository extends CrudRepository<InnerAutoGrabEntity, String> {

    InnerAutoGrabEntity findByIdFranchiseeAndRegionCodeAndChannelAndIdStationIsNull(String idFranchisee, String regionCode, int channel);

    InnerAutoGrabEntity findByIdFranchiseeAndRegionCodeAndChannelAndIdStation(String idFranchisee, String regionCode, int channel, String idStation);

}
